package com.rnkrsoft.suyan.config.server.services.guide.services;


import com.rnkrsoft.suyan.config.server.services.guide.domains.*;

import javax.doc.annotation.ApidocInterface;
import javax.doc.annotation.ApidocService;

/**配置向导服务
 * Created by woate on 2019/6/22.
 */
@ApidocService("向导式配置服务")
public interface ConfigGuideService {
    @ApidocInterface("获取项目列表")
    FetchProjectResponse fetchProject(FetchProjectRequest request);
    @ApidocInterface("获取项目版本列表")
    FetchProjectVersionResponse fetchProjectVersion(FetchProjectVersionRequest request);
    @ApidocInterface("获取环境列表")
    FetchEnvironmentResponse fetchEnvironment(FetchEnvironmentRequest request);
    @ApidocInterface("获取机器列表")
    FetchMachineResponse fetchMachine(FetchMachineRequest request);
    @ApidocInterface("获取参数列表")
    FetchParamResponse fetchParam(FetchParamRequest request);
    @ApidocInterface("创建参数")
    CreateParamResponse createParam(CreateParamRequest request);
    @ApidocInterface("删除参数")
    DeleteParamResponse deleteParam(DeleteParamRequest request);
    @ApidocInterface("批量修改参数")
    BatchUpdateParamResponse batchUpdateParam(BatchUpdateParamRequest request);
    @ApidocInterface("创建环境")
    CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest request);
    @ApidocInterface("删除环境")
    DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest request);
    @ApidocInterface("创建机器")
    CreateMachineResponse createMachine(CreateMachineRequest request);
    @ApidocInterface("删除机器")
    DeleteMachineResponse deleteMachine(DeleteMachineRequest request);
    @ApidocInterface("修复参数")
    RepairParamsResponse repairParams(RepairParamsRequest request);
}

